home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / clients / xcalc / makefile < prev    next >
Encoding:
Makefile  |  1994-08-12  |  514 b   |  35 lines

  1. #
  2. # QOS Makefile for DJGPP.
  3. #
  4.  
  5. CFLAGS= -O -c -DMSDOS -DIEEE -DSHAPE
  6.  
  7. all: makefile.tag xcalc.exe ~\app-defa\xcalc.res
  8.  
  9. .c.o:
  10.     gcc $(CFLAGS) $<
  11.  
  12. O = actions.o math.o xcalc.o
  13.  
  14. L = -lxaw -lxmu -lxt -lx11 -lxext -lsys -lm
  15.  
  16. xcalc.exe : $(O)
  17.     gcc -o xcalc $(O) $(L)
  18.     strip xcalc
  19.     coff2exe xcalc
  20.     del xcalc
  21.  
  22. ~\app-defa\xcalc.res:    xcalc.ad
  23.     copy xcalc.ad ~\app-defa\xcalc.res
  24.  
  25. makefile.tag:
  26.     del *.tag
  27.     del *.obj
  28.     del *.o
  29.     del *.map
  30.     del *.exp
  31.     del *.exe
  32.     del *.rsp
  33.     echo >makefile.tag
  34.  
  35.